package com.boilermaker.springbootdemo;

public class Demo2 {
    public static void main(String[] args) {
        Demo2 demo2 = new Demo2();
        demo2.mySqrt(5);
    }
    public void mySqrt(int x) {
        int[] arr = new int[x];
        int temp = 1;
        for (int i : arr) {
            i = temp;
            temp++;
        }

    }
}
